<!--
 * @Description: 欢迎页面
 * @Author: liushiji
 * @LastEditors: seadon
 * @Date: 2022-03-30 14:22:54
 * @LastEditTime: 2022-03-31 09:52:45
-->
<template>
	<div class="welcome">
		<desktopWelcome v-if="pcFlag" />
		<mobileWelcome v-else />
	</div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { client, isIpad } from '@/utils'
import desktopWelcome from './Desktop.vue'
import mobileWelcome from './Mobile.vue'
const pcFlag = ref()
// const ipadFlag = ref()

pcFlag.value = client.isPc()
// ipadFlag.value = isIpad()

</script>

<style lang="less" scoped>
.welcome {
	height: 100%;
}
</style>
